<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/9/4
  Time: 15:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags" %>


<script type="text/javascript" src="dist/js/jquery/jquery.min.js"></script>
<html>
<head>
    <title>授权</title>
</head>
<body>
11111
<hr>
${member}
<hr>

<hr>
<h2>欢迎 ${member.maccount} 进入后台</h2>
<h3>你拥有的角色:${member.roleSet}</h3>

${member.roleSet}

<hr>

<ul>
    <s:iterator value="#attr.member.roleSet" var="mrs">
        <li>
            <s:property value="#mrs.rname"></s:property>
            <ul>
                <s:iterator value="#mrs.permissionSet" var="rps">
                    <li>
                        <a href="#">
                            <input type="checkbox" name="<s:property value="#rps.pname"></s:property>" value="<s:property value="#rps.pid"></s:property>">
                            <s:property value="#rps.pname"></s:property>
                        </a>
                    </li>
                </s:iterator>
            </ul>
        </li>
    </s:iterator>
</ul>
<hr>


<hr>
</body>
</html>
<script type="text/javascript">
    console.log("111");
    $(function () {
        console.log("222");
    });



</script>
